package com.darcytech.debezium.core.api.bo;

public class RegisterResult {

    public static final Integer SUCCESS_CODE = 0;
    public static final Integer ERROR_CODE = -1;
    public static final Integer WARN_CODE = 1;

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public RegisterResult() {
    }

    public RegisterResult(Integer code, String msg) {
        this.code = code;
        this.message = msg;
    }

}